package com.sgb.trip.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Time:2021/9/13
 * Author:黄淋
 * Description:
 */
public class FlightInfoEntity implements Serializable {

    /**
     * adultFuel : 100
     * adultTax : 100
     * airlineCode : CZ
     * airlineCompany : 南方航空
     * babyFuel : 100
     * babyTax : 100
     * childFuel : 100
     * childTax : 100
     * craftType : 波音738
     * flightNo : CZ6925
     * flyDuration : 06:05
     * fromAirportCode : KRL
     * fromAirportName : 库尔勒
     * fromDate : 2020-06-10 09:40:00
     * fromDateTime : 2020-06-10 09:40:00
     * fromTerminal : T1
     * logo : http://api.panhe.net/Content/Images/AirLineLogo/CZ.png
     * meals : 有餐食
     * minimumDiscount : 100
     * minimumPrice : 100
     * realFlightNo : CZ6921
     * shareFlight : true
     * tickets : [{"cabinBookPara":"117BD92FEA4F0821324606EB5854A95B88DAE807DCFF74193A88B739B1FD885420038AE8EF89BC10A72B9A12EBD4E616F2B69D936EEAC20BE2D9C2B34B8DAB7F75D2A1BEAE88C5D853C2466C8CD698EACA33BBBFA2E24218A6FF167C726EB928EC95B30107D5B02C79E35E8426C9DD283852F21072BFBEC4267EE346A9C2F7CCDFAD9B24DA74E891F6A99213FF2C271B170C115209BC476727FCFD68902A3638A6D92DD3E204634838C8BC26BDE38BFC21CDC3FCB5BF39E6D33DF8FA2F1CEF0A22386762FCA4FD91CF3F10DFD853CC339619E5F2599E185DBC726C15FEBDB6D2AE802E29B8C496892AA06B48447600CE70C0154193BF4C8B959FBDEF4BDD2B575663F5D3AF7017FAC65060D4EA2071D4A939F6D142A1B9BBE9A5A1A6BD2487EC08565C20810DA1895DAB6A55835007C381648A3DF6CD6F6E9283CDA8606A63CCE02EF57ED8A5B678A23E8E3DAF7AEF5E57D447F670266B9B04A6A7E5792CD7C26D2FAEACEE623F90D32A1B39F383E55D27E3797174DE7874BF8E94EFD84A49A43DE7D03D4ACF252D35434BF65B318BE1A515B15BC65E59BACC97CD70F9A8C2C5A4ECE3DE9EEDF1EFAEFBE755EE95A46AAD09391ECDFEB5BE3D85B42C541134336E29183D5D3DF4F66CE226CA5B7FD830B8DD19D65522C7375527CFBA9134E155DA06D8554571E1FABB1CBAB865081455D379A7D3A06F9244F39DCF4564A943429F1A15D5AE4B790BBF5BB29D32EE0256","cabinCode":"M","cabinLevel":1,"cabinName":"经济舱","cabinPrice":{"adultFarePrice":2160,"adultSalePrice":2151,"babyFarePrice":260,"babySalePrice":270,"childFarePrice":1266,"childSalePrice":1266},"discount":0.29,"seatLeftNum":10}]
     * toAirportCode : CTU
     * toAirportName : 成都双流
     * toDate :
     * toDateTime : 2020-06-10 09:40:00
     * toTerminal : T2
     */

    private int adultFuel;
    private int adultTax;
    private String airlineCode;
    private String airlineCompany;
    private int babyFuel;
    private int babyTax;
    private int childFuel;
    private int childTax;
    private String craftType;
    private String flightNo;
    private String flyDuration;
    private String fromAirportCode;
    private String fromAirportName;
    private String fromDate;
    private String fromDateTime;
    private String fromTerminal;
    private String logo;
    private String meals;
    private double minimumDiscount;
    private double minimumPrice;
    private String realFlightNo;
    private boolean shareFlight;
    private String toAirportCode;
    private String toAirportName;
    private String toDate;
    private String toDateTime;
    private String toTerminal;
    private List<TicketsBean> tickets;
    private int ticketsType;
    private String ticketPrice;

    private String cabinBookParms;
    private String cabinCode;
    private int cabinLevel;
    private String fromCity;
    private String toCity;

    public String getCabinBookParms() {
        return cabinBookParms;
    }

    public void setCabinBookParms(String cabinBookParms) {
        this.cabinBookParms = cabinBookParms;
    }

    public String getCabinCode() {
        return cabinCode;
    }

    public void setCabinCode(String cabinCode) {
        this.cabinCode = cabinCode;
    }

    public int getCabinLevel() {
        return cabinLevel;
    }

    public void setCabinLevel(int cabinLevel) {
        this.cabinLevel = cabinLevel;
    }

    public String getFromCity() {
        return fromCity;
    }

    public void setFromCity(String fromCity) {
        this.fromCity = fromCity;
    }

    public String getToCity() {
        return toCity;
    }

    public void setToCity(String toCity) {
        this.toCity = toCity;
    }

    public static class TicketsBean implements Serializable {
        /**
         * cabinBookPara : 117BD92FEA4F0821324606EB5854A95B88DAE807DCFF74193A88B739B1FD885420038AE8EF89BC10A72B9A12EBD4E616F2B69D936EEAC20BE2D9C2B34B8DAB7F75D2A1BEAE88C5D853C2466C8CD698EACA33BBBFA2E24218A6FF167C726EB928EC95B30107D5B02C79E35E8426C9DD283852F21072BFBEC4267EE346A9C2F7CCDFAD9B24DA74E891F6A99213FF2C271B170C115209BC476727FCFD68902A3638A6D92DD3E204634838C8BC26BDE38BFC21CDC3FCB5BF39E6D33DF8FA2F1CEF0A22386762FCA4FD91CF3F10DFD853CC339619E5F2599E185DBC726C15FEBDB6D2AE802E29B8C496892AA06B48447600CE70C0154193BF4C8B959FBDEF4BDD2B575663F5D3AF7017FAC65060D4EA2071D4A939F6D142A1B9BBE9A5A1A6BD2487EC08565C20810DA1895DAB6A55835007C381648A3DF6CD6F6E9283CDA8606A63CCE02EF57ED8A5B678A23E8E3DAF7AEF5E57D447F670266B9B04A6A7E5792CD7C26D2FAEACEE623F90D32A1B39F383E55D27E3797174DE7874BF8E94EFD84A49A43DE7D03D4ACF252D35434BF65B318BE1A515B15BC65E59BACC97CD70F9A8C2C5A4ECE3DE9EEDF1EFAEFBE755EE95A46AAD09391ECDFEB5BE3D85B42C541134336E29183D5D3DF4F66CE226CA5B7FD830B8DD19D65522C7375527CFBA9134E155DA06D8554571E1FABB1CBAB865081455D379A7D3A06F9244F39DCF4564A943429F1A15D5AE4B790BBF5BB29D32EE0256
         * cabinCode : M
         * cabinLevel : 1
         * cabinName : 经济舱
         * cabinPrice : {"adultFarePrice":2160,"adultSalePrice":2151,"babyFarePrice":260,"babySalePrice":270,"childFarePrice":1266,"childSalePrice":1266}
         * discount : 0.29
         * seatLeftNum : 10
         */

        private String cabinBookPara;
        private String cabinCode;
        private int cabinLevel;
        private String cabinName;
        private CabinPriceBean cabinPrice;
        private double discount;
        private int seatLeftNum;
        private int ticketType;//1单程 2往返去程 3往返返程

        public String getCabinBookPara() {
            return cabinBookPara;
        }

        public void setCabinBookPara(String cabinBookPara) {
            this.cabinBookPara = cabinBookPara;
        }

        public String getCabinCode() {
            return cabinCode;
        }

        public void setCabinCode(String cabinCode) {
            this.cabinCode = cabinCode;
        }

        public int getCabinLevel() {
            return cabinLevel;
        }

        public void setCabinLevel(int cabinLevel) {
            this.cabinLevel = cabinLevel;
        }

        public String getCabinName() {
            return cabinName;
        }

        public void setCabinName(String cabinName) {
            this.cabinName = cabinName;
        }

        public CabinPriceBean getCabinPrice() {
            return cabinPrice;
        }

        public void setCabinPrice(CabinPriceBean cabinPrice) {
            this.cabinPrice = cabinPrice;
        }

        public double getDiscount() {
            return discount;
        }

        public void setDiscount(double discount) {
            this.discount = discount;
        }

        public int getSeatLeftNum() {
            return seatLeftNum;
        }

        public void setSeatLeftNum(int seatLeftNum) {
            this.seatLeftNum = seatLeftNum;
        }

        public int getTicketType() {
            return ticketType;
        }

        public void setTicketType(int ticketType) {
            this.ticketType = ticketType;
        }

        public static class CabinPriceBean implements Serializable {
            /**
             * adultFarePrice : 2160
             * adultSalePrice : 2151
             * babyFarePrice : 260
             * babySalePrice : 270
             * childFarePrice : 1266
             * childSalePrice : 1266
             */

            private double adultFarePrice;
            private double adultSalePrice;
            private double babyFarePrice;
            private double babySalePrice;
            private double childFarePrice;
            private double childSalePrice;

            public double getAdultFarePrice() {
                return adultFarePrice;
            }

            public void setAdultFarePrice(double adultFarePrice) {
                this.adultFarePrice = adultFarePrice;
            }

            public double getAdultSalePrice() {
                return adultSalePrice;
            }

            public void setAdultSalePrice(double adultSalePrice) {
                this.adultSalePrice = adultSalePrice;
            }

            public double getBabyFarePrice() {
                return babyFarePrice;
            }

            public void setBabyFarePrice(double babyFarePrice) {
                this.babyFarePrice = babyFarePrice;
            }

            public double getBabySalePrice() {
                return babySalePrice;
            }

            public void setBabySalePrice(double babySalePrice) {
                this.babySalePrice = babySalePrice;
            }

            public double getChildFarePrice() {
                return childFarePrice;
            }

            public void setChildFarePrice(double childFarePrice) {
                this.childFarePrice = childFarePrice;
            }

            public double getChildSalePrice() {
                return childSalePrice;
            }

            public void setChildSalePrice(double childSalePrice) {
                this.childSalePrice = childSalePrice;
            }
        }
    }

    public int getAdultFuel() {
        return adultFuel;
    }

    public void setAdultFuel(int adultFuel) {
        this.adultFuel = adultFuel;
    }

    public int getAdultTax() {
        return adultTax;
    }

    public void setAdultTax(int adultTax) {
        this.adultTax = adultTax;
    }

    public String getAirlineCode() {
        return airlineCode;
    }

    public void setAirlineCode(String airlineCode) {
        this.airlineCode = airlineCode;
    }

    public String getAirlineCompany() {
        return airlineCompany;
    }

    public void setAirlineCompany(String airlineCompany) {
        this.airlineCompany = airlineCompany;
    }

    public int getBabyFuel() {
        return babyFuel;
    }

    public void setBabyFuel(int babyFuel) {
        this.babyFuel = babyFuel;
    }

    public int getBabyTax() {
        return babyTax;
    }

    public void setBabyTax(int babyTax) {
        this.babyTax = babyTax;
    }

    public int getChildFuel() {
        return childFuel;
    }

    public void setChildFuel(int childFuel) {
        this.childFuel = childFuel;
    }

    public int getChildTax() {
        return childTax;
    }

    public void setChildTax(int childTax) {
        this.childTax = childTax;
    }

    public String getCraftType() {
        return craftType;
    }

    public void setCraftType(String craftType) {
        this.craftType = craftType;
    }

    public String getFlightNo() {
        return flightNo;
    }

    public void setFlightNo(String flightNo) {
        this.flightNo = flightNo;
    }

    public String getFlyDuration() {
        return flyDuration;
    }

    public void setFlyDuration(String flyDuration) {
        this.flyDuration = flyDuration;
    }

    public String getFromAirportCode() {
        return fromAirportCode;
    }

    public void setFromAirportCode(String fromAirportCode) {
        this.fromAirportCode = fromAirportCode;
    }

    public String getFromAirportName() {
        return fromAirportName;
    }

    public void setFromAirportName(String fromAirportName) {
        this.fromAirportName = fromAirportName;
    }

    public String getFromDate() {
        return fromDate;
    }

    public void setFromDate(String fromDate) {
        this.fromDate = fromDate;
    }

    public String getFromDateTime() {
        return fromDateTime;
    }

    public void setFromDateTime(String fromDateTime) {
        this.fromDateTime = fromDateTime;
    }

    public String getFromTerminal() {
        return fromTerminal;
    }

    public void setFromTerminal(String fromTerminal) {
        this.fromTerminal = fromTerminal;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getMeals() {
        return meals;
    }

    public void setMeals(String meals) {
        this.meals = meals;
    }

    public double getMinimumDiscount() {
        return minimumDiscount;
    }

    public void setMinimumDiscount(double minimumDiscount) {
        this.minimumDiscount = minimumDiscount;
    }

    public double getMinimumPrice() {
        return minimumPrice;
    }

    public void setMinimumPrice(double minimumPrice) {
        this.minimumPrice = minimumPrice;
    }

    public String getRealFlightNo() {
        return realFlightNo;
    }

    public void setRealFlightNo(String realFlightNo) {
        this.realFlightNo = realFlightNo;
    }

    public boolean isShareFlight() {
        return shareFlight;
    }

    public void setShareFlight(boolean shareFlight) {
        this.shareFlight = shareFlight;
    }

    public String getToAirportCode() {
        return toAirportCode;
    }

    public void setToAirportCode(String toAirportCode) {
        this.toAirportCode = toAirportCode;
    }

    public String getToAirportName() {
        return toAirportName;
    }

    public void setToAirportName(String toAirportName) {
        this.toAirportName = toAirportName;
    }

    public String getToDate() {
        return toDate;
    }

    public void setToDate(String toDate) {
        this.toDate = toDate;
    }

    public String getToDateTime() {
        return toDateTime;
    }

    public void setToDateTime(String toDateTime) {
        this.toDateTime = toDateTime;
    }

    public String getToTerminal() {
        return toTerminal;
    }

    public void setToTerminal(String toTerminal) {
        this.toTerminal = toTerminal;
    }

    public List<TicketsBean> getTickets() {
        return tickets;
    }

    public void setTickets(List<TicketsBean> tickets) {
        this.tickets = tickets;
    }

    public int getTicketsType() {
        return ticketsType;
    }

    public void setTicketsType(int ticketsType) {
        this.ticketsType = ticketsType;
    }

    public String getTicketPrice() {
        return ticketPrice;
    }

    public void setTicketPrice(String ticketPrice) {
        this.ticketPrice = ticketPrice;
    }
}
